﻿using System;
using System.Windows.Forms;

namespace RedRiver.Framework.XtraCommon.Templates{
    public partial class XtraDialogForm : DataViewForm{
 
        public XtraDialogForm(){
            InitializeComponent();
        }


        private void OkButtonClick(object sender, EventArgs e){
            DialogResult = DialogResult.OK;
            Close();
        }

        private void CancelButtonClick(object sender, EventArgs e){
            DialogResult = DialogResult.Cancel;
            Close();
        }
    }
}